package com.ls.lserp.modules.inventoryControl.dao;

import java.util.List;

import com.ls.lserp.common.persistence.CrudDao;
import com.ls.lserp.common.persistence.annotation.MyBatisDao;
import com.ls.lserp.modules.inventoryControl.entity.InventoryEntity;
import com.ls.lserp.modules.inventoryControl.entity.OginzationEntity;

/**
 * @ClassName: InventoryDao
 * @Description: 分类接口
 * 
 * @author 于辉
 * @date 2017年03月13日
 *
 */

@MyBatisDao
public interface InventoryDao extends CrudDao<InventoryEntity> {
	// 供货商名称查询
	public List<OginzationEntity> findOgnizationList(InventoryEntity inventoryEntity);
	// 更新需要采购的原辅料的明细数据
	public void updateMaterialAlertReserve(InventoryEntity inventoryEntity);
	// 更新预订供货商采购面辅料明细
	public void updateReserverMaterialPurchase(InventoryEntity inventoryEntity);
	// 获取预警明细数据
	public List<InventoryEntity> findReservserAlertDetail(InventoryEntity inventoryEntity);
	
	public void deleteAlertReserve(String alertId);
	
}
